package com.example.springcloud.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * @author 莫磊
 * @date 2025/8/21
 * @description
 */
@Data
@TableName("user")
public class User extends com.example.springcloud.common.entity.User {

    private String name;

    private Integer age;

    @TableId(value = "id",type = IdType.AUTO)
    private String id;

    @TableField(value = "db_source")
    private String dbSource;
}
